package chatbot.base.event;


public abstract class AbstractListener implements Listener {
    private Priority priority;

    public abstract void execute(Event e);

    protected AbstractListener(Priority p) {
        this.priority = p;
    }

    public Priority getPriority() {
        return priority;
    }
}
